const mongoose = require('mongoose');

module.exports = {
    get(name) {
        return mongoose.model(name);
    },
    set(name, schema) {
        mongoose.model(name, schema);
    }
};
